(component
  (type (;0;)
    (component
      (type (;0;)
        (component
          (type (;0;)
            (instance)
          )
          (import "some-interface" (instance (;0;) (type 0)))
          (type (;1;) (func))
          (import "foo" (func (;0;) (type 1)))
          (type (;2;) (func (param "arg" u32)))
          (import "bar" (func (;1;) (type 2)))
          (export (;2;) "foo2" (func (type 1)))
          (type (;3;) (func (result u32)))
          (export (;3;) "bar2" (func (type 3)))
          (type (;4;)
            (instance)
          )
          (export (;1;) "another-interface" (instance (type 4)))
        )
      )
      (export (;0;) "foo:foo/foo" (component (type 0)))
    )
  )
  (export (;1;) "foo" (type 0))
  (type (;2;)
    (component
      (type (;0;)
        (component
          (type (;0;) (func))
          (import "foo" (func (;0;) (type 0)))
        )
      )
      (export (;0;) "foo:foo/just-import" (component (type 0)))
    )
  )
  (export (;3;) "just-import" (type 2))
  (type (;4;)
    (component
      (type (;0;)
        (component
          (type (;0;) (func))
          (export (;0;) "foo" (func (type 0)))
        )
      )
      (export (;0;) "foo:foo/just-export" (component (type 0)))
    )
  )
  (export (;5;) "just-export" (type 4))
  (@custom "package-docs" "\01{}")
  (@producers
    (processed-by "wit-component" "$CARGO_PKG_VERSION")
  )
)
